# start up the game

from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app
from core.support import build_route, default_route

# define our routes
game_routes = [
               build_route('lobby','LobbyHandler'),
               build_route('restart','RestartHandler'),
               build_route('gpo','GPOHandler'),
               build_route('fcc','FCCHandler'),
               build_route('classroom','ClassRoomHandler'),
               build_route('cornwalls','CornwallsHandler'),
               build_route('career_fair','CareerFairHandler'),
               build_route('victory_room','VictoryRoomHandler'),
               default_route('starting_point', 'StartingPointHandler'),
               ]

application = webapp.WSGIApplication(game_routes, debug=True)


def main():
    run_wsgi_app(application)

if __name__ == "__main__":
    main()
